﻿@model Lapkin.Models.ViewModel.LoginModel
@{
    ViewBag.Title = "Войти";
}

<h2>title</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationMessage("ErrorAuth") <br>

    @Html.LabelFor(l => l.Email)
    @Html.TextBoxFor(l => l.Email) 
    @Html.ValidationMessageFor(l => l.Email) <br>
    

    @Html.LabelFor(l => l.Password)
    @Html.TextBoxFor(l => l.Password)
    @Html.ValidationMessageFor(l => l.Password) <br>

    @Html.LabelFor(l => l.RemeberMe)
    @Html.CheckBoxFor(l=>l.RemeberMe)
    @Html.ValidationMessageFor(l => l.RemeberMe) <br>

    <input type="submit" value="Submit">
}
